﻿using Atha.Extensions.Strings;

namespace Atha
{
	public sealed class SyntaxErrorTestResult : ErrorTestResult
	{
		public SyntaxErrorTestResult(int line, int column, string message)
			: base("(Line #{1}, Column #{2}) {0}".FormatWith(message, line, column))
		{
			this.Line = line;
			this.Column = column;
		}

		public int Line { get; private set; }

		public int Column { get; private set; }
	}
}